package fwslib;

/**
 * @author Kicho
 *
 */
public class SensorReading {

    public static final int LowRes = 0;
    public static final int HighRes = 1;
    
    private int ID;
    public int res;
    public int value;
    
    public SensorReading(int ID, int r, int v) {
        this.ID = ID;
        this.res = r;
        this.value = v;
    }

    //-------------------------------------------------------------------------
    
    /**
     * @return Returns the id.
     */
    public int getID() {
        return ID;
    }
    /**
     * @param id The id to set.
     */
    public void setID(Integer ID) {
    	this.ID = ID.intValue();
	}
    
    /**
     * @return Returns the res.
     */
    public int getRes() {
        return res;
    }
    /**
     * @param res The res to set.
     */
    public void setRes(Integer res) {
    	this.res = res.intValue();
	}
    
    /**
     * @return Returns the value.
     */
    public int getValue() {
        return value;
    }
    /**
     * @param res The res to set.
     */
    public void setValue(Integer value) {
    	this.value = value.intValue();
	}
    
    //-------------------------------------------------------------------------
}
